package com.how2j.springcloud.pojo;

/**
 * @author: kaiyi
 * @create: 2020-10-23 22:54
 */
public class Product {

  private int id;
  private String name;
  private int price;
  public int getId() {
    return id;
  }
  public void setId(int id) {
    this.id = id;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public int getPrice() {
    return price;
  }
  public void setPrice(int price) {
    this.price = price;
  }

  public Product() {

  }
  public Product(int id, String name, int price) {
    super();
    this.id = id;
    this.name = name;
    this.price = price;
  }
}
